package heap;

public class Test {
    public static void main(String[] args) {
        int[] array = {27,15,19,18,28,34,65,49,25,37};
        BigHeap heap = new BigHeap();
        heap.initHeap(array);
        heap.createHeap();
//        System.out.println(heap.pop());
//        System.out.println(heap.pop());
//        System.out.println(heap.pop());
//        System.out.println(heap.pop());
//        System.out.println(heap.pop());
//        System.out.println(heap.pop());
//        System.out.println(heap.pop());
//        System.out.println(heap.pop());
//        System.out.println(heap.pop());
//        System.out.println(heap.pop());
//        heap.push(1);
//        heap.push(2);
//        heap.push(3);
//        heap.push(4);
//        heap.push(5);
//        heap.push(6);
//        System.out.println(heap.pop());
//        System.out.println(heap.pop());
//        System.out.println(heap.pop());
//        System.out.println(heap.pop());
//        System.out.println(heap.pop());
//        System.out.println(heap.pop());
        heap.heapSort();
    }
}
